using Lean.Localization;

public static class LocalizationManager
{
	public static string GetLanguage()
	{
		return LeanLocalization.CurrentLanguage;
	}

	public static string GetTranslation(string key)
	{
		string translationText = LeanLocalization.GetTranslationText(key);
		if (translationText == null)
		{
			return key;
		}
		return translationText;
	}
}
